#
# Be sure to run `pod lib lint XLAudioFormatConvertTool.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
    s.name             = 'XLAudioFormatConvertTool'
    s.version          = '1.0.0'
    s.summary          = '轻量级音频转码器'
    s.description      = <<-DESC
    PCM -> AMR，基于libopencore-amr，
    PCM -> MP3，基于libmp3lame，
    DESC
    
    s.homepage         = 'https://gitee.com/ilongge/XLAudioFormatConvertTool'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { '10150820867@qq.com' => '1015820857@qq.com' }
    s.source           = { :git => 'https://gitee.com/ilongge/XLAudioFormatConvertTool.git', :tag => s.version.to_s }
    
    s.ios.deployment_target = '11.0'
    
    s.static_framework = true
    
    s.user_target_xcconfig = {
        'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
        'GENERATE_INFOPLIST_FILE' => 'YES'
    }
    
    s.pod_target_xcconfig = {
        'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
        'GENERATE_INFOPLIST_FILE' => 'YES'
    }
    
    s.source_files = [
    'XLAudioFormatConvertTool/Classes/Public/*.{h,m,mm}'
    ]
    
    s.public_header_files = [
    'XLAudioFormatConvertTool/Classes/Public/*.h'
    ]
     
    s.dependency 'ffmpeg-kit-ios-full','~> 5.1.LTS'
end
